package com.yifeng.repo.base.mdm.loader.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.core.Ordered;

import java.util.List;

/**
 * Created by daibing on 2024/2/26.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MdmAopProperties {

    /**
     * 是否启用缓存，默认不启用
     */
    private boolean enabled = false;

    /**
     * aop order
     */
    private Integer order = Ordered.HIGHEST_PRECEDENCE;

    /**
     * 主数据缓存参数
     */
    private List<MdmCacheParam> mdmCacheParams;

}
